Skip to content

feat(inspector): server action, Zustand store, and list UI#212

Merged
JSisques merged 15 commits into
feat/inspector-pr1from
feat/inspector-pr2
May 23, 2026
Merged

feat(inspector): server action, Zustand store, and list UI#212
JSisques merged 15 commits into
feat/inspector-pr1from
feat/inspector-pr2

Conversation

@JSisques

Copy link
Copy Markdown
Contributor

Closes #75
Closes #76

Type

  • New feature

Summary

  • Adds getInspectorEntries server action to read from the ring buffer
  • Adds useInspectorStore Zustand store with polling, Page Visibility support, and persist middleware
  • Adds RequestCard, RequestDetailDialog, RequestList, InspectorToolbar, and InspectorClient components
  • Adds /inspector RSC page and registers the tool in the tools registry

Changes

File Change
features/inspector/use-cases/get-inspector-entries/ Server action reading from ring buffer
features/inspector/stores/use-inspector-store/ Zustand store with polling + persist
features/inspector/components/request-card/ Card showing service, op, duration, status
features/inspector/components/request-detail-dialog/ Full payload detail modal
features/inspector/components/request-list/ Filtered list of RequestCards
features/inspector/components/inspector-toolbar/ Filter bar (service, status, text)
features/inspector/components/inspector-client/ Client shell with polling lifecycle
app/[lang]/(dashboard)/inspector/page.tsx RSC page
lib/tools-registry.ts Inspector tool registration
features/inspector/i18n/en.ts + es.ts i18n keys

Test Plan

Chained PR: base is feat/inspector-pr1. Retarget to main after PR1 merges.

@JSisques JSisques force-pushed the feat/inspector-pr2 branch from bea8982 to 8f617f8 Compare May 23, 2026 16:11
@JSisques JSisques merged commit 9832f9d into feat/inspector-pr1 May 23, 2026
2 checks passed
@JSisques JSisques deleted the feat/inspector-pr2 branch May 23, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant